package com.dhsc.controller.xtqxgl;

import com.dhsc.domain.ywzx.xtqxgl.XtyhrzVo;
import com.dhsc.domain.yypt.LayuiTableVo;
import com.dhsc.domain.yypt.ResponseObject;
import com.dhsc.service.xtqxgl.IXtyhrzService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;

/**
 * @ClassName: XtyhrzController
 * @Description: 系统用户认证
 * @date: 2023/11/14 11:34
 * @author: gx
 */
@Controller
@RequestMapping("/xtqxgl")
public class XtyhrzController {

    @Autowired
    private IXtyhrzService xtyhrzService;

    /**
     * @Title: queryXtyhrz
     * @Description: 查询系统用户认证
     * @Param: xtyhrzVo
     * @return: LayuiTableVo
     * @Author: gx
     * @Date: 2023/11/14 11:15
     */
    @ResponseBody
    @RequestMapping(value="/queryXtyhrz")
    public LayuiTableVo queryXtyhrz(XtyhrzVo xtyhrzVo){
        return xtyhrzService.queryXtyhrz(xtyhrzVo);
    }

    /**
     * @Title: queryYhxx
     * @Description: 查询OA用户信息
     * @Param: xtyhrzVo
     * @return: ResponseObject
     * @Author: gx
     * @Date: 2023/11/14 19:14
     */
    @ResponseBody
    @RequestMapping(value="/queryYhxx")
    public ResponseObject queryYhxx(XtyhrzVo xtyhrzVo){
        return xtyhrzService.queryYhxx(xtyhrzVo);
    }

    /**
     * @Title: queryYhxxByDhzb
     * @Description: 查询东海总部OA用户信息
     * @Param: xtyhrzVo
     * @return: ResponseObject
     * @Author: gx
     * @Date: 2023/11/14 19:14
     */
    @ResponseBody
    @RequestMapping(value="/queryYhxxByDhzb")
    public ResponseObject queryYhxxByDhzb(XtyhrzVo xtyhrzVo){
        return xtyhrzService.queryYhxxByDhzb(xtyhrzVo);
    }

    /**
     * @Title: saveXtyhrz
     * @Description: 处理系统用户认证
     * @Param: xtyhrzVo
     * @return: ResponseObject
     * @Author: gx
     * @Date: 2023/11/14 19:58
     */
    @ResponseBody
    @RequestMapping(value="/saveXtyhrz")
    public ResponseObject saveXtyhrz(XtyhrzVo xtyhrzVo){
        return xtyhrzService.saveXtyhrz(xtyhrzVo);
    }

    /**
     * @Title: deleteXtyhrz
     * @Description: 删除系统用户认证
     * @Param: xtyhrzVo
     * @return: ResponseObject
     * @Author: gx
     * @Date: 2023/11/14 19:59
     */
    @ResponseBody
    @RequestMapping(value="/deleteXtyhrz")
    public ResponseObject deleteXtyhrz(XtyhrzVo xtyhrzVo){
        return xtyhrzService.deleteXtyhrz(xtyhrzVo);
    }
}
